package cn.aitrox.ry.service.anno.dao;

import cn.aitrox.ry.common.dao.BaseDao;
import cn.aitrox.ry.service.anno.entity.TaskEntity;
import cn.aitrox.ry.service.anno.po.task.TaskFindCondPo;
import com.github.pagehelper.PageInfo;

public interface TaskDao extends BaseDao<TaskEntity> {
    PageInfo<TaskEntity> searchByCustom(Integer page, Integer pageSize, TaskFindCondPo cond);

    void updateStatusById(Integer id, Integer status);

    PageInfo<TaskEntity> joinableSearch(Integer page, Integer pageSize, String keyword, Integer userId, Integer status);
}
